package com.gerenboke.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gerenboke.domain.ResponseResult;
import com.gerenboke.domain.dto.RoleDto;
import com.gerenboke.domain.dto.RoleSaveDto;
import com.gerenboke.domain.dto.RoleUpdateDto;
import com.gerenboke.domain.entity.Role;

import java.util.List;


/**
 * 角色信息表(SysRole)表服务接口
 *
 * @author makejava
 * @since 2022-11-16 23:25:40
 */
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult RoleList(Long pageNum, Long pageSize, String roleName, String status);

    ResponseResult updateRole(RoleDto roleDto);

    ResponseResult insertRole(RoleSaveDto roleSaveDto);

    ResponseResult selectRole(Long id);

    ResponseResult updateRoleMenu(RoleUpdateDto roleUpdateDto);

    ResponseResult deleteRole(String id);

    ResponseResult listAllRole();
}

